﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GaiNo.Core.Services
{
    public interface ILog
    {
        /// <summary>
        /// 程序错误日志
        /// </summary>
        /// <param name="thread">The thread.</param>
        /// <param name="message">The message.</param>
        void ApplicationError(string thread, string message);
        /// <summary>
        /// 系统错误日志
        /// </summary>
        /// <param name="thread">The thread.</param>
        /// <param name="message">The message.</param>
        void SystemError(string thread, string message);
        /// <summary>
        /// 程序错误提醒
        /// </summary>
        /// <param name="thread">The thread.</param>
        /// <param name="message">The message.</param>
        void ApplicationWran(string thread, string message);
        /// <summary>
        /// 系统错误提醒
        /// </summary>
        /// <param name="thread">The thread.</param>
        /// <param name="message">The message.</param>
        void SystemWran(string thread, string message);
        /// <summary>
        /// 调试日志
        /// </summary>
        /// <param name="thread">The thread.</param>
        /// <param name="message">The message.</param>
        void Debug(string thread, string message);
        /// <summary>
        /// Infomations the specified thread.
        /// </summary>
        /// <param name="thread">The thread.</param>
        /// <param name="message">The message.</param>
        void Information(string thread, string message);
    }
    internal enum Priority
    {
        LOWEST = 0,
        LOW = 1,
        NORMAL = 2,
        HIGH = 3,
        HIGHEST = 4
    }
    internal struct Category
    {
        public const string General = "General";
        public const string Trace = "Trace";
        public const string Database = "Database";
    }
}
